#ifndef IMGBOX_H
#define IMGBOX_H

#include <QWidget>
#include <QImage>
#include <QPainter>
class imgbox : public QWidget
{
public:
    imgbox(QWidget * parent, QImage myimg );
protected:
    void paintEvent(QPaintEvent *event);
private:
    QImage img;
};

#endif // IMGBOX_H
